c = input()[0]
numInt = int(input())
numFloat = float(input())
numDouble = float(input())
print(c, numInt, f"{numFloat:.6f}", f"{numDouble:.6f}")